package cn.trip.biz.service;

import cn.itrip.beans.dto.Dto;
import cn.itrip.beans.pojo.ItripComment;
import cn.itrip.beans.vo.ItripCommentAddVO;
import cn.itrip.beans.vo.ItripListCommentVO;
import cn.itrip.common.Page;

import javax.servlet.http.HttpServletRequest;
import java.util.Map;

public interface ItripCommentService {
    public Dto<Object> uploadFile(HttpServletRequest request);

    public Dto doAddComment(Map<String, Object> map);

    public Dto<Page<ItripListCommentVO>> getCommentList(ItripComment itripComment);

    public Integer selectCount(ItripComment itripComment);

    public Dto count(ItripComment itripComment);

    public Dto getScoreByHotelId(Long hotelId);

}
